<?php
function gravatar($email, $size=80){
  return 'http://www.gravatar.com/avatar/'.md5(strtolower(trim($email))).'?s='.$size;
}

//Custom hashing function
function myhash($text){
  return md5($text);
}

function getPage($limit, $number){
  return floor($number/$limit)*$limit;
}
?>